package com.mini.rpc.register;

import com.mini.rpc.core.ServiceMeta;

/**
 * @author lbx
 * @version 1.0.0
 * @description TODO
 * @date 2021/10/5 10:10
 **/
public interface RegistryService {

    void register(ServiceMeta serviceMeta) throws Exception;

    void unRegister(ServiceMeta serviceMeta) throws Exception;

    ServiceMeta discovery(String serviceName, int invokerHashCode) throws Exception;

    void destory() throws Exception;
}
